home *** CD-ROM | disk | FTP | other *** search
- unit global;
-
- interface
-
- uses
- WinTypes,
- VbApi_;
- {---------------------------------------------------------------------------
- CIRC control data and structs
- ---------------------------------------------------------------------------}
- Type
- Pcirc2 = ^Tcirc2;
- Tcirc2 = record
- rectDrawInto: TRect;
- CircleShape: integer;
- FlashColor: longInt;
- end;
-
- {---------------------------------------------------------------------------
- Property info
- --------------------------------------------------------------------------}
- const
- CircleShapeName: array[0..12] of Char = 'CircleShape'#0;
- Property_CircleShape: tPropInfo = (
- npszName: tOffset(@CircleShapeName);
- fl: DT_SHORT or PF_fGetData or PF_fSetMsg or PF_fSaveData;
- OffSetData: 0;
- infoData: 0;
- dataDefault: 0;
- npszEnumList: 0;
- enumMax: 0);
-
- FlashColorName: array[0..12] of Char = 'FlashColor'#0;
- Property_FlashColor: tPropInfo = (
- npszName: tOffset(@FlashColorName);
- fl: DT_COLOR or PF_fGetData or PF_fSetData or PF_fSaveData;
- OffSetData: 0;
- infoData: 0;
- dataDefault: 0;
- npszEnumList: 0;
- enumMax: 0);
-
- implementation
-
- begin
- Property_CircleShape.OffSetData := Ofs(tCirc2(ptr(0,0)^).CircleShape);
- Property_FlashColor.OffSetData := Ofs(tCirc2(ptr(0,0)^).FlashColor);
- end.
-
-